package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.Surgery;
import com.san.hkhospital.entity.SurgeryExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:SurgeryMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface SurgeryMapper {
    long countByExample(SurgeryExample example);

    int deleteByExample(SurgeryExample example);

    int deleteByPrimaryKey(Integer surId);

    int insert(Surgery record);

    int insertSelective(Surgery record);

    List<Surgery> selectByExample(SurgeryExample example);

    Surgery selectByPrimaryKey(Integer surId);

    int updateByExampleSelective(@Param("record") Surgery record, @Param("example") SurgeryExample example);

    int updateByExample(@Param("record") Surgery record, @Param("example") SurgeryExample example);

    int updateByPrimaryKeySelective(Surgery record);

    int updateByPrimaryKey(Surgery record);
}